#pragma once
#pragma execution_character_set("utf-8")
#include "XPWidgets.h"
#include "XPStandardWidgets.h"
#include "XPLMDataAccess.h"

#define WEATHER_BUTTON_MAX 4
#define WEATHER_DATA_REF_MAX 4

extern int weatherMenuCreateFlag;
extern XPWidgetID weatherWidgetID;

void initWeather();
void selectShowWeather(int type);
int	weatherWidgetHandler(XPWidgetMessage inMessage, XPWidgetID inWidget, intptr_t inParam1, intptr_t inParam2);
void createWeatherWidget(int x, int y, int width, int height);

